﻿/***********************************************************************************************
 * 
 * ProjectName: WMSSoft.Lib.WinKStart
 * 
 * Description: Class to read Usersettings from Disk
 * 
 * Created:     29.04.2015
 * 
 * Author:      matthias wagler - matthias@WMSSoft.de
 * 
 * Copyright:   Copyright 2015 by WMSSoft.net
 * 
 * License:     GPLv3
 * 
 * History:     29.04.2015 - matthias wagler matthias@WMSSoft.de   -   Created
 * 
 **********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using WMSSoft.Lib.WinKStart.Abstract;

namespace WMSSoft.Lib.WinKStart.Model
{
    public class CContextDataItem : CModelBase
    {
        string m_Name = "";
        string m_Caption = "";
        Boolean m_Value = false;

        public CContextDataItem() { }

        public CContextDataItem(string Name, string Caption, Boolean Value)
        {
            this.m_Caption = Caption;
            this.m_Name = Name;
            this.m_Value = Value;
        }

        public string Name
        {
            get { return m_Name; }
            set
            {
                m_Name = value;
                OnPropertyChanged();
            }
        }

        public string Caption
        {
            get { return m_Caption; }
            set
            {
                m_Caption = value;
                OnPropertyChanged();
            }
        }

        public Boolean Value
        {
            get { return m_Value; }
            set
            {
                m_Value = value;
                OnPropertyChanged();
            }
        }
    }
}
